package book;

public class BookList {
    public static final int Capacity = 10;//书的容量是10
    private Book[] books = new Book[Capacity];
    private int usedSize ;//记录被借出去的书

    public void setBooks(int pos,Book book)//存放书籍
    {
        books[pos] = book;
    }

    public int getUsedSize() {
        return usedSize;
    }

    public void setUsedSize(int usedSize) {
        this.usedSize = usedSize;
    }
}
